package com.ruoyi.domain.basic;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * BOM明细对象 mes_bom_detail
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
@Data
public class MesBomDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long detailId;

    /** BOM ID */
    @Excel(name = "BOM ID")
    private Long bomId;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long materialId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料规格 */
    @Excel(name = "物料规格")
    private String materialSpec;

    /** 单位 */
    @Excel(name = "单位")
    private String materialUnit;

    /** 用量 */
    @Excel(name = "用量")
    private BigDecimal quantity;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortNum;
}